<?php


namespace App\Models;


use Dcat\Admin\Traits\HasDateTimeFormatter;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\DB;

class CoOrderExpress extends Model
{
    use HasDateTimeFormatter;
    protected $table = 'co_order_express';
    public $timestamps = true;

    public function addAll(Array $data)
    {
        $rs = DB::table($this->getTable())->insert($data);
        return $rs;
    }

}
